package gui.game;

import javax.swing.*;

public class StartGame {
    public static void main(String[] args) {
        JFrame frame = new JFrame();
        frame.setBounds(10,10,900,720);
        //设置窗口大小不可变
        frame.setResizable(false );
        //使窗口可关闭
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        //把画板中的内容拿过来
        frame.add(new GamePanel());
        frame.setVisible(true);

    }
}
